package cn.startom.controller;

import cn.startom.sjdzpsdk.ItemListRequest;
import cn.startom.sjdzpsdk.ItemListResponse;
import cn.startom.sjdzpsdk.ORTicketService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TicketController {
    @Autowired
     private ORTicketService service;
     @GetMapping("/ticket/getItems")
     public ItemListResponse getItemList(){
           return service.getItemList(new ItemListRequest());
     }
}
